package com.tanhua.dubbo.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.model.db.SubmitTheQuestionnaire;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SubmitTheQuestionnaireMapper extends BaseMapper<SubmitTheQuestionnaire> {
    @Select("SELECT DISTINCT user_id FROM tb_submit_the_questionnaire where user_type = #{userType} LIMIT 0,9")
    List<Long> findIds(String userType);
}
